package com.education.business.mapper.education;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.education.model.dto.ExamRoomStudentDto;
import com.education.model.dto.TestPaperInfoDto;
import com.education.model.dto.TestPaperInfoStudentDto;
import com.education.model.entity.ExamRoomStudent;
import com.education.model.entity.TestPaperInfoStudent;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TestPaperInfoStudentMapper extends BaseMapper<TestPaperInfoStudent> {
    //监考端-考生管理列表
    Page<TestPaperInfoStudentDto> invStudentList(Page<TestPaperInfoStudentDto> page, TestPaperInfoStudent testPaperInfoStudent);

    Page<TestPaperInfoStudentDto> selectPageList(Page<TestPaperInfoStudentDto> page, TestPaperInfoStudent testPaperInfoStudent);
    int deleteStudentAllById(Map<String, List<String>> maps);
    Page<TestPaperInfoStudentDto> paperStudentList(Page<TestPaperInfoStudentDto> page, TestPaperInfoStudentDto testPaperInfoStudent);

    List<TestPaperInfoStudent> TestPaperInfoStudentByTaskId(int taskid);
    int saveAll(TestPaperInfoStudent testPaperInfoStudent);
}
